<?php
//
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
cfc('core')->checklogin();
if($_RQ['op']=='main'){
	$return['setting']=$this->setting;
	$return['list']=array();
	set_html('title','核销台');	
	$mid = $_SESSION['uid'];
	foreach($return['setting']['verifymids'] as $item){
		if($item['mid']==$mid){
			$saler = $item;
		}
	}
	if (empty($saler)) {
		exi('您无核销权限!'.$mid,'error');
	}
	$return['saler']=$saler;
	$return['member']=$saler;
	exi($return);
}
